home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Golf Digest's Best Places to Play
/
Golf Digest's Best Places to Play.iso
/
diamond
/
dbrs_ibm.dir
/
00041_Script_FirstCutScript
< prev
next >
Wrap
Text File
|
1995-05-15
|
2KB
|
83 lines
on exitFrame
go to marker(0)+2
end
on mouseDown
set ButtonNum=the clickOn
if ButtonNum>0 then
set ButtonName=the name of cast (the castNum of sprite ButtonNum)
if ButtonNum=3 then BadCut
if ButtonNum=12 then GoodCut
if chars(ButtonName,1,6) = "ToMain" then
if PressBtn(ButtonNum) then
AllPuppetsOff
go to marker(0)+3
end if
end if
if chars(ButtonName,1,4) = "Help" then
if PressBtn(ButtonNum) then
showHelp
puppetsprite ButtonNum, true
set the castNum of sprite ButtonNum to the number of cast (ButtonName)
puppetsprite ButtonNum, false
end if
end if
end if
end mouseDown
on BadCut
puppetsound 0
puppetsound "picksound"
updateStage
puppetsound "FirstCutCrunchSound"
updateStage
repeat while soundbusy(1)
nothing
end repeat
puppetsprite 3, true
puppetsprite 12, true
set the castNum of sprite 3 to the number of cast ("FirstCutDot")
set the castNum of sprite 12 to the number of cast ("FirstCutDot")
puppetsound "FirstCutOoohSound"
updateStage
repeat with i=8 down to 1
puppetsprite i+3, true
put the locH of sprite (i+3) into x
put the locV of sprite (i+3) into y
repeat while y<540
set y=y+5
set the locV of sprite (i+3) to y
updateStage
end repeat
end repeat
wait(2)
puppetTransition 23, 2, 5, true
set the castnum of sprite 3 to the number of cast ("FirstCutDiamond")
updateStage
allPuppetsOff
updateStage
end BadCut
on GoodCut
puppetsound 0
puppetsound "PickSound"
updateStage
puppetsound "FirstCutYeahSound"
puppetsprite 3, true
set the castnum of sprite 3 to the number of cast ("GoodCut")
repeat with i=4 to 12
puppetsprite i, true
set the castNum of sprite i to the number of cast ("FirstCutDot")
end repeat
puppetTransition 23, 2, 5, true
updateStage
repeat while soundbusy(1)
nothing
end repeat
puppetTransition 23, 2, 5, true
set the castnum of sprite 3 to the number of cast ("FirstCutDiamond")
updateStage
allPuppetsOff
updateStage
end